package com.hisense.ovcloud.warehouse.entity.matrix;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Data(staticConstructor = "model")
@Table("tbl_key_info")
public class KeyInfo extends Model<KeyInfo> {
    @Id(keyType = KeyType.Auto)
    @Column(value = "id")
    private long id;

    @Column(value = "developer_id")
    private long developerId;

    @Column(value = "access_key")
    private String accessKey;

    @Column(value = "secret_key")
    private String secretKey;

    @Column(value = "status")
    private int status;

    @Column(value = "permission")
    private String permission;

    @Column(value = "description")
    private String description;
}
